<template>
  <view :style="{height: safeHeight + 'px'}">
  </view>
</template>

<script>
  export default {
    name: "bar",
    data() {
      return {
        safeHeight: 0
      };
    },
    created() {
      this.safeHeight = uni.getMenuButtonBoundingClientRect().top
    }
  }
</script>

<style>

</style>
